package com.collect.collectclient.collect.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "计算机基本信息")
public class ComputerInfo {
    @ApiModelProperty(value = "计算机名称")
    private String computerName;
    @ApiModelProperty(value = "登录用户名")
    private String userName;

    @ApiModelProperty(value = "域名")
    private String domian;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "本地主机名")
    private String hoseName;


    @ApiModelProperty(value = "内存总量")
    private String memTotal;

    @ApiModelProperty(value = "已使用内存")
    private String menUsed;

    @ApiModelProperty(value = "空闲内存")
    private  String memFree;
    @ApiModelProperty(value = "交换区内存总量")
    private String swapTotal;
    @ApiModelProperty(value = "交换区已用内存")
    private String swapUsed;

    @ApiModelProperty(value = "交换区空闲内存")
    private String swapFree;

    @ApiModelProperty(value = "cpu基本信息")
    private List<CpuInfo> cpuInfoList;

    @ApiModelProperty(value = "网卡基本信息")
    private List<NetInfo> netInfoList;

    @ApiModelProperty(value = "操作系统")
    private String osArch;

    @ApiModelProperty(value = "操作系统描述")
    private String osDesc;

    @ApiModelProperty(value = "操作系统名称")
    private String osName;
    @ApiModelProperty(value = "操作系统版本")
    private String osVersion;


}
